package com.cpsdna.openapi.bean.req;

public class CmdRequest<T extends BaseCmdParams> {
	//接口名
	private String cmd;
	private Auth auth;
	//参数
	private T params;

	public CmdRequest(){
		super();
	}

	public CmdRequest(String cmd, Auth auth, T params) {
		this.cmd = cmd;
		this.auth = auth;
		this.params = params;
	}

	public String getCmd() {
		return cmd;
	}

	public void setCmd(String cmd) {
		this.cmd = cmd;
	}

	public Auth getAuth() {
		return auth;
	}

	public void setAuth(Auth auth) {
		this.auth = auth;
	}

	public T getParams() {
		return params;
	}

	public void setParams(T params) {
		this.params = params;
	}
}
